{% extends 'AppBundle::base.html.twig' %}

{% block body %}
    <h1>Edit location #{{ form.vars.data.id }}</h1>

    {% embed 'AppBundle:Default:_location_form.html.twig' %}
        {% block actions %}
            <button class="btn btn-warning">Save modifications</button>
            {{ parent() }}
        {% endblock %}
    {% endembed %}
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    <script src="{{ asset('js/_location_form.js') }}"></script>
{% endblock %}
